package com.youhome.service.service;

import com.youhome.common.exception.CustomException;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.List;

/**
 * Created by chen365 on 2017/10/20.
 */
public interface UploadService {

    String uploadHousePhoto(String base64Data) throws Exception;

    void uploadExcel(String path) throws Exception;

    String upload(File file);

    String upload(MultipartFile file);

    String upload(MultipartFile file, Integer type) throws CustomException;

    String upload(String data, String ext) throws CustomException;

    boolean uploadReport(String file);

    List<String> upload(MultipartFile[] files, Integer type) throws CustomException;
}
